* {
    margin: 0;
    padding: 0;
}

body{font:14px"微软雅黑","Arial Narrow",HELVETICA;background:#fff;}

.clearfix {
    zoom: 1;
}

.clearfix:after {
    clear: both;
    content: '.';
    display: block;
    width: 0;
    height: 0;
    visibility: hidden;
}

.main {
    position: absolute;
    top:50%;
    margin-top:-300px;
    left:50%;
    margin-left:-180px;
    width: 360px;
    height: 600px;
    font:14px;
}

.main-top {
    height: 60px;
    background-color: #13b100;
    text-indent: 15px;
    color: #ffffff;
    font-size: 16px;
    padding:0px 5px 0px 5px;
    /*line-height: 60px;*/
}

.main-body {
    background-color: #efeff4;
    /*position: absolute;*/
    /*top: 30px;*/
    /*bottom: 50px;*/
    height:489px;
    width: 100%;
    overflow-y: scroll;
}
.main-top h3 {
    float:left;
    margin-top:10px;
}

.main-top .info {
    float:left;
    width:100%;
    font-size: 12px;
    color: #ffffff;
    
}
.ellipsis{
    word-break:keep-all;/* 不换行 */
    white-space:nowrap;/* 不换行 */
    overflow:hidden;/* 内容超出宽度时隐藏超出部分的内容 */
    text-overflow:ellipsis;
    overflow:hidden;
}

.chatRoomTip {
    text-align: center;
    padding: 10px;
    font-size: 12px;
    color: #444;
}

.user {
    width: 100%;
    min-height: 38px;
    min-width: 36px;
    margin-bottom: 15px;
}

.user span {
    margin-right: 10px;
    float: right;
}

.user div {
    float: right;
    min-height: 30px;
    min-width: 38px;
    max-width: 70%;
    line-height: 30px;
    padding: 5px 15px;
    color: #171717;
    border: 1px solid #4fb543;
    margin-right: 10px;
    word-break: break-all;
    background-color: #4ee43c;
    position: relative;
    border-radius: 5px;
}

.user .mess-img{
    margin-top: 5px;
    max-width:80px;
    max-height: 80px;
}

.user div:after {
    content: "";
    position: absolute;
    right: -5px;
    top: 4px;
    width: 0;
    height: 0;
    border-top: solid transparent;
    border-left: 7px solid #4ee43c;
    border-bottom: 4px solid transparent;
}

.server {
    width: 100%;
    min-height: 38px;
    min-width: 36px;
    margin-bottom: 15px;
}

.server span {
    margin-left: 10px;
    float: left;
}

.server div {
    float: left;
    min-height: 30px;
    min-width: 38px;
    max-width: 70%;
    line-height: 30px;
    padding: 5px 15px;
    color: #171717;
    border: 1px solid #e0e0e0;
    margin-left: 10px;
    word-break: break-all;
    background-color: #ffffff;
    position: relative;
    border-radius: 5px;
}

.server .mess-img{
    margin-top: 5px;
    max-width:80px;
    max-height: 80px;
}

.server div:after {
    content: "";
    position: absolute;
    left: -5px;
    top: 4px;
    width: 0;
    height: 0;
    border-top: solid transparent;
    border-right: 7px solid #ffffff;
    border-bottom: 4px solid transparent;
}
.main-footer{
    position: relative;
    /*bottom: 0;*/
    border-top:1px solid #d2d2d2;
    background-color: #e8e8ec;
    width: 100%;
    height: 50px;
}
.input{
    float: left;
    width: 65%;
    height: 34px;
    margin-top: 6px;
    margin-left: 2%;
    margin-right: 1%;
    border-bottom:1px solid #868686;
}
.input input{
    width: 100%;
    height: 34px;
    outline: none;
    border: none;
    font-size: 14px;
    color: #333;
    background-color:transparent;
}
.main-footer .file-input{
    position: absolute;
    right: 16px;
    top: 0px;
    height:40px;
    font-size: 200px;
    width:50px;
    opacity: 0;
    -ms-filter: 'alpha(opacity=0)';
}
.send{
    float: left;
    width: 14%;
    height: 36px;
    margin-top: 6px;
    margin-left: 1%;
    border: 1px solid #7d7d7d;
    border-radius: 3px;
    background-color: #13b100;
    color: #ffffff;
    outline: none;
}
.send.down{
    background-color: #7d7d7d;
    color: #fff;
}

.send.pic{
    border-radius: 45px;
}
